
package com.daotonginfo;

import lombok.extern.slf4j.Slf4j;

import org.apache.log4j.Logger;
import org.springframework.boot.CommandLineRunner;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

@SpringBootApplication
@Slf4j
public class Application implements CommandLineRunner {
	private static Logger logger = Logger.getLogger(Application.class);
	/**
	 * Start
	 */
	public static void main(String[] args) {
		SpringApplication.run(Application.class, args);
		logger.info("SpringBoot Start Success");
	}

	@Override public void run(String... strings) throws Exception {
		log.info(strings.toString());
	}
}
